package com.company.common.server.config.id;

import cn.hutool.core.util.IdUtil;

/**
 * CMS-文章
 * */
public class ArticleIdUtil {

	
	/**文章ID*/
	public static String getArticleId() {
		return IdUtil.getSnowflake(5, 1).nextIdStr();
	}
	
	/**公司引用文章ID*/
	public static String getArticleCompanyRelId() {
		return IdUtil.getSnowflake(5, 2).nextIdStr();
	}
	
}
